package com.miya.demo.support.netty.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CaiXiaowei
 * @date 2023/1/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChatMsg implements Serializable {

    private static final long serialVersionUID = -2478733121213188968L;
    /**
     * 发件人id
     */
    private String senderId;

    /**
     * 接收机id
     */
    private String receiverId;

    /**
     * 消息体
     */
    private String msg;

    /**
     * 消息id
     */
    private String msgId;
}
